package router

import (
	"ao/app/api"
	"github.com/gogf/gf/frame/g"
	"github.com/gogf/gf/net/ghttp"
)

func init() {
	s := g.Server()
	s.Group("/api", func(group *ghttp.RouterGroup) {
		group.ALL("/hello", api.Hello.Index)
		group.GET("/list", api.DeviceInfo.List)
		group.GET("/group", api.DeviceInfo.GroupList)

	})
}
